INCLUDE(test_macros)
INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/fem/src)

CONFIGURE_FILE(case.sif case.sif COPYONLY)
ADD_ELMERTEST_MODULE(ModelPDEipadapt ModelPDEhandle ModelPDEhandle.F90)
ADD_ELMERTEST_MODULE(ModelPDEipadapt Capacity Capacity.F90)

file(COPY square.grd ELMERSOLVER_STARTINFO ModelPDEhandle.F90 Capacity.F90 DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/")

ADD_ELMER_TEST(ModelPDEipadapt LABELS transient)
